package com.weipai.demo.enums;

public enum RetCode {

    SUCCESS("200", "成功"),

    PUSHSUCCESS("200","申请提交成功,请耐性等待,工作人员会在三个工作日之内联系您!"),

    APPLYFORSUCCESS("200", "提交成功,请等待核实,核实成功后工作人员会在三个工作日联系您"),

    SAVESUCCESS("200", "添加成功"),

    UPDATESUCCESS("200","修改成功"),

    UPDATEERROR("401", "修改失败"),

    ID_NULL("401","请选中要删除的内容"),

    REPETITION("401","您已经提交过申请啦,请勿重复添加!"),

    SMS_CODE_SEND_ERROR("503", "验证码发送失败"),

    SMS_CODE_EXPIRE("505", "验证码过期"),

    SMS_CODE_VERIFY_FAIL("504", "验证码验证失败"),

    REQUEST_ERROR("500", "请求失败"),

    THESAME("401", "有两个相同的汽车品牌,请删除其中一个"),

    IDENTICAL("401","请勿重复添加"),

    IDENTICAL_VEHICLEMODEL("401","请勿重复添加相同的汽车型号"),

    SMS_CODE_PUT("505", "请输入验证码"),

    COLD_phone("401", "此手机号已注册，请直接登录"),

    NOT_LOGIN("-1", "尚未登录"),
    LOGIN_FAIL("-2", "登录失败"),

    PWD_ERROR("-3", "密码错误"),
    COLD_ALL("401", "请输入完整的个人信息"),
    PASSWORD_NOT_SAME("500","密码不一致，请重新输入"),
    RESOURCES_ADD_FAIL("500","操作失败"),

    IMG_FORMAT("501", "上传图片格式暂不支持"),
    IMG_SIZE("502", "上传的文件不能超过5M"),
    IMG_ERROR("500", "服务器错误,上传图片失败"),
    NO_DATA("401", "暂无数据"),
    D_RESULT_FAIL_NAMEVAR("1111", "此用户名已注册，请直接登录");
    
    
    

    private String code;
    private String msg;

    RetCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
